REM @echo off

rem ** remove/create a test gadget folder
rd "%LOCALAPPDATA%\Microsoft\Windows Sidebar\Gadgets\ChelloTraffic.gadget\" /s /q
md "%LOCALAPPDATA%\Microsoft\Windows Sidebar\Gadgets\ChelloTraffic.gadget\"

rem ** copy all of the files into test area
xcopy . "%LOCALAPPDATA%\Microsoft\Windows Sidebar\Gadgets\ChelloTraffic.gadget\" /y /s /q /EXCLUDE:exclude.txt

cd "%LOCALAPPDATA%\Microsoft\Windows Sidebar\Gadgets\ChelloTraffic.gadget\"
cabarc -r -p n "%HOMEPATH%\Documents\ChelloTraffic.gadget" *
